/*************************************************************************
 *                                                                       *
 * This file is part of the FreeMAPs distribution.  For full copyright   *
 * information, see COPYRIGHT and COPYING.LESSER.                        *
 *                                                                       *
 * Author:           sqbang                                              *
 * Email:            sqbang@ustc.edu                                     *
 * Date:             2013.11.21                                          *
 *                                                                       *
 *************************************************************************/

namespace FreeMAPs
{

inline MeshReader*
UnstructuredMeshInfo::get_mesh_reader() const
{
    return d_mesh_reader;
}


inline bool
UnstructuredMeshInfo::build_mesh_from_file() const
{
    return d_build_mesh_from_file;
}


//inline const MeshGeneratorStrategy*
//UnstructuredMeshInfo::get_mesh_generator() const
//{
//	FREEMAPS_ASSERT (!d_build_mesh_from_file);
	
//	return d_mesh_generator;
//}


//inline bool
//UnstructuredMeshInfo::use_parallel_mesh() const
//{
//    return d_use_parallel_mesh;
//}


//inline bool
//UnstructuredMeshInfo::change_all_elems_to_triangle() const
//{
//    return d_change_all_elems_to_triangle;
//}


//inline ChangeElemsOrderType
//UnstructuredMeshInfo::change_elems_order() const
//{
//    return d_change_elems_order;
//}

#if 0
inline const std::vector<GeomTransferOperator>&
UnstructuredMeshInfo::mesh_modification_order() const
{
    return d_mesh_modification_order;
}
#endif

#if 0
inline const Point&
UnstructuredMeshInfo::get_mesh_translation() const
{
    return d_mesh_translation;
}


inline const Point&
UnstructuredMeshInfo::get_mesh_rotation() const
{
    return d_mesh_rotation;
}


inline const Point&
UnstructuredMeshInfo::get_mesh_scale() const
{
    return d_mesh_scale;
}
#endif

inline void
UnstructuredMeshInfo::set_mesh_translation(const double x ,
                                           const double y ,
                                           const double z )
{
    //d_mesh_translation = Point(x, y, z);
}


inline void
UnstructuredMeshInfo::set_mesh_rotation(const double x ,
                                        const double y ,
                                        const double z )
{
   // d_mesh_rotation = Point(x, y, z);
}



inline void
UnstructuredMeshInfo::set_mesh_scale(const double x ,
                                     const double y ,
                                     const double z )
{
   // d_mesh_scale = Point(x, y, z);
}


//inline bool
//UnstructuredMeshInfo::remove_duplicate_nodes() const
//{
//    return d_remove_duplicate_nodes;
//}


//inline void
//UnstructuredMeshInfo::set_remove_duplicate_nodes_flag(
//    const bool flag)
//{
//    d_remove_duplicate_nodes = flag;
//}


//inline bool
//UnstructuredMeshInfo::remove_duplicate_nodes_using_relative_tolerance() const
//{
//    return d_remove_duplicate_nodes_using_relative_tolerance;
//}


//inline double
//UnstructuredMeshInfo::remove_duplicate_nodes_tolerance() const
//{
//    return d_remove_duplicate_nodes_tolerance;
//}

} //namespace FreeMAPs
